package com.smedi.ismedi.progress.core.application.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.progress.api.dto.response.ProgressKanBanStatisticResponse;
import com.smedi.ismedi.progress.core.application.command.ConstructionLogDetailQuery;
import com.smedi.ismedi.progress.core.application.command.ConstructionLogListQuery;
import com.smedi.ismedi.progress.core.application.command.ProgressKanBanQuery;
import com.smedi.ismedi.progress.core.domain.aggregatemodel.*;

import java.util.List;

/**
 * 施工日志服务
 *
 * @author liaojiajie
 * @date 2021/09/19
 */
public interface ConstructionLogQueryService {

    /**
     * 查询施工日志列表 分页
     * @param constructionLogListQuery
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.smedi.ismedi.progress.core.domain.aggregatemodel.ConstructionLog>
     * @date 2022/11/22 11:16
     */
    Page<ConstructionLog> getConstructionLogList(ConstructionLogListQuery constructionLogListQuery);

    /**
    * 查询施工日志详情
    * @param constructionLogDetailQuery
     * * @param personList
    * @return com.smedi.ismedi.progress.core.domain.aggregatemodel.ConstructionLogDetail
    * @date 2022/11/22 14:17
    */
    ConstructionLogDetail getConstructionLogDetail(ConstructionLogDetailQuery constructionLogDetailQuery, List<Person> personList);

    /**
    *  app 查詢施工日誌
    * @param constructionLogListQuery
    * @param personList
    * @return com.smedi.ismedi.progress.core.domain.aggregatemodel.ConstructionLog
    * @date 2022/11/23 15:22
    */
    ConstructionLog getConstructionLogAPPList(ConstructionLogListQuery constructionLogListQuery, List<Person> personList);
}
